﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="work_add.aspx.cs" Inherits="HY.WEB.OA.work_add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
</head>
<body>
    <form id="form1" runat="server" >
    <div>

    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:HiddenField ID="hidstype" runat="server"></ext:HiddenField>
    <ext:Label ID="labResult" CssClass="result" EncodeText="false" runat="server">
    </ext:Label>

      <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" EnableBackgroundColor="true"
        ShowBorder="True" Title="表单" Width="718px" ShowHeader="True" >
        <Items>
        
         <ext:RadioButtonList ID="RBG1" runat="server" Label="添加类型">
            <ext:RadioItem Text="工作日志" Value="DD" Selected="true" />
          <ext:RadioItem Text="周总结" Value="WW" />
          <ext:RadioItem Text="月总结" Value="MM" />
             <ext:RadioItem Text="季总结" Value="QQ" />
          <ext:RadioItem Text="年总结" Value="YY" />    
            </ext:RadioButtonList>

            <ext:TextBox runat="server"  Label="标题" ID="txttitel" Required="true" ShowRedStar="true">
            </ext:TextBox>
            
            <ext:FileUpload runat="server"  ID="fileup" EmptyText="请选择文件" Label="附件" >
            </ext:FileUpload>
             <ext:ContentPanel ID="ContentPanel1" runat="server" Width="800px" BodyPadding="5px"
        EnableBackgroundColor="true" ShowHeader="true" Title="内容面板">
                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/" Height="300px">
        </FCKeditorV2:FCKeditor>
         </ext:ContentPanel>
                <ext:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1"
                Text="提交">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
  
    </div>
    </form>
</body>
</html>
